
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.FodderTake;

import java.math.BigDecimal;

import java.util.Calendar;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage FodderTake entities.
 * 
 */
public interface FodderTakeDAO extends JpaDao<FodderTake> {

	/**
	 * JPQL Query - findFodderTakeByPrimaryKey
	 *
	 */
	public FodderTake findFodderTakeByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByPrimaryKey
	 *
	 */
	public FodderTake findFodderTakeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByMemo
	 *
	 */
	public Set<FodderTake> findFodderTakeByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByMemo
	 *
	 */
	public Set<FodderTake> findFodderTakeByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByQuantity
	 *
	 */
	public Set<FodderTake> findFodderTakeByQuantity(java.math.BigDecimal quantity) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByQuantity
	 *
	 */
	public Set<FodderTake> findFodderTakeByQuantity(BigDecimal quantity, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllFodderTakes
	 *
	 */
	public Set<FodderTake> findAllFodderTakes() throws DataAccessException;

	/**
	 * JPQL Query - findAllFodderTakes
	 *
	 */
	public Set<FodderTake> findAllFodderTakes(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeById
	 *
	 */
	public FodderTake findFodderTakeById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeById
	 *
	 */
	public FodderTake findFodderTakeById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByMemoContaining
	 *
	 */
	public Set<FodderTake> findFodderTakeByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByMemoContaining
	 *
	 */
	public Set<FodderTake> findFodderTakeByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByTime
	 *
	 */
	public Set<FodderTake> findFodderTakeByTime(java.util.Calendar time) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTakeByTime
	 *
	 */
	public Set<FodderTake> findFodderTakeByTime(Calendar time, int startResult, int maxRows) throws DataAccessException;

}